home *** CD-ROM | disk | FTP | other *** search
/ Kimeruze! Yamikon! / Kimeruze! Yamikon!.iso / mac / YARIKON / EVENT12.Dxr / 00032.ls < prev    next >
Encoding:
Text File  |  1996-10-23  |  841 b   |  36 lines

  1. on enterFrame
  2.   global ayumi, syu, mayu, drink, tired, samasu, hs
  3.   set hs to 0
  4.   set samasu to 1
  5.   puppetSprite(16, 1)
  6.   puppetSprite(17, 1)
  7.   puppetSprite(18, 1)
  8.   puppetSprite(19, 1)
  9.   puppetSprite(20, 1)
  10.   set the castNum of sprite 16 to 238 + ayumi
  11.   set the castNum of sprite 17 to 238 + syu
  12.   set the castNum of sprite 18 to 238 + mayu
  13.   set the castNum of sprite 19 to 249 + drink
  14.   set the castNum of sprite 20 to 249 + tired
  15.   set the visible of sprite 14 to 0
  16.   set the visible of sprite 15 to 0
  17. end
  18.  
  19. on exitFrame
  20.   global ayumi, syu, mayu, atoi, stoi, mtoi
  21.   if (ayumi >= 6) and (atoi = 0) then
  22.     set atoi to 1
  23.     go("a")
  24.   else
  25.     if (syu >= 6) and (stoi = 0) then
  26.       set stoi to 1
  27.       go("s")
  28.     else
  29.       if (mayu >= 6) and (mtoi = 0) then
  30.         set mtoi to 1
  31.         go("m")
  32.       end if
  33.     end if
  34.   end if
  35. end
  36.